package net.dodoman.spider;

import java.util.ArrayList;
import java.util.List;

import org.htmlparser.Parser;
import org.htmlparser.util.ParserException;

/**
 * @author yanping
 * 
 */
public class ParserDetail extends Parser {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	// 获取页面详细信息
	public static List getDetailList(List list) throws ParserException {
		List detailList = new ArrayList();
		if (list.size() > 1) {
			for (int i = 0; i < 10; i++) {
				detailList.add(ParserUtil.getAllHtml(ParserUtil.getLink(list
						.get(i).toString())));
			}
		}
		return detailList;
	}
}
